package com.example.film.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

@ApiModel("即将上映的电影")
public class ReadyFilm {
    @ApiModelProperty("电影名称")
    private String name;

    @ApiModelProperty("电影链接")
    private String link;

    @ApiModelProperty("电影海报")
    private String picture;

    @ApiModelProperty("上映日期")
    private Date filmDate;

    @ApiModelProperty("电影类型")
    private String type;

    @ApiModelProperty("导演")
    private String director;

    @ApiModelProperty("主演")
    private String star;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Date getFilmDate() {
        return filmDate;
    }

    public void setFilmDate(Date filmDate) {
        this.filmDate = filmDate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    @Override
    public String toString() {
        return "ReadyFilm{" +
                "name='" + name + '\'' +
                ", link='" + link + '\'' +
                ", picture='" + picture + '\'' +
                ", filmDate=" + filmDate +
                ", type='" + type + '\'' +
                ", director='" + director + '\'' +
                ", star='" + star + '\'' +
                '}';
    }
}
